import java.util.Scanner;

public class Homework6 {
    public static void main(String[]args){
        Scanner a=new Scanner(System.in);
        System.out.println("请输出会员号是4位数");
        int num=a.nextInt();
        int b=num/1000;
        int c=num/100%10;
        int d=num/10%10;
        int e=num%10;
        if (b+c+d+e>=24){
            System.out.println("获得彩电一台");
        }else if (b+c+d+e>=20){
            System.out.println("获得电吹风一部");
        }else if (b+c+d+e>=16){
            System.out.println("获得餐巾纸一包");
        }else {
            System.out.println("下次继续努力");
        }
    }
}
